import $api from './index';

interface  loginData  {
  uname: string,
  password: string,
  strategy: string
}
export default null;
export const login = async  (data: loginData) => {
  const res = await $api.post('/authentication', data);
  return res.data;
};
